package com.yf.exam.modules.exam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import java.util.Date;

/**
* <p>
* 考试申请实体类
* </p>
*
* @author 聪明笨狗
* @since 2022-12-15 15:57
*/
@Data
@TableName("el_exam_apply")
public class ExamApply extends Model<ExamApply> {

    private static final long serialVersionUID = 1L;

    /**
    * ID
    */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
    * 考试ID
    */
    @TableField("exam_id")
    private String examId;

    /**
    * 申请学员ID
    */
    @TableField("apply_user")
    private String applyUser;

    /**
    * 申请时间
    */
    @TableField("apply_time")
    private Date applyTime;

    /**
    * 申请信息
    */
    @TableField("apply_msg")
    private String applyMsg;

    /**
    * 是否允许考试
    */
    @TableField("audit_state")
    private Integer auditState;

    /**
    * 授权人
    */
    @TableField("audit_by")
    private String auditBy;

    /**
    * 授权信息
    */
    @TableField("audit_msg")
    private String auditMsg;

    /**
    * 授权时间
    */
    @TableField("audit_time")
    private Date auditTime;

    /**
    * 是否已考试
    */
    @TableField("audit_used")
    private Boolean auditUsed;

}
